package org.csu.canteen.vo;

import lombok.Data;
import org.csu.canteen.entity.Account;
import org.csu.canteen.entity.CartItem;
import org.csu.canteen.entity.LineItem;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

//用来实现order
@Data
public class OrderVO {
    //orders表
    private int orderId;
    private String username;
    private Date orderDate;
    private String shipAddress1;
    private String shipAddress2;
    private String shipCity;
    private String shipState;
    private String shipZip;
    private String shipCountry;
    private String billAddress1;
    private String billAddress2;
    private String billCity;
    private String billState;
    private String billZip;
    private String billCountry;
    private String courier;
    private BigDecimal totalPrice;
    private String billToFirstName;
    private String billToLastName;
    private String shipToFirstName;
    private String shipToLastName;
    private String creditCard;
    private String expiryDate;
    private String cardType;
    private String locale;

    //orderstatus表
    private String status;

    private List<LineItem> lineItems = new ArrayList<LineItem>();
}
